package com.bdcom.nms.NmsCollect.pojo;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * top对象存储设备对象的snmp共同体
 * 
 * @author HP
 *
 */
@Entity
@Table(name="topoobject")
public class TopoObject {
	@Id
	private long moid;

	private String community;

	private String writecommunity;

	



	public long getMoid() {
		return moid;
	}





	public void setMoid(long moid) {
		this.moid = moid;
	}





	public String getCommunity() {
		return community;
	}





	public void setCommunity(String community) {
		this.community = community;
	}





	public String getWritecommunity() {
		return writecommunity;
	}





	public void setWritecommunity(String writecommunity) {
		this.writecommunity = writecommunity;
	}





	@Override
	public String toString() {
		return "TopObj [moid=" + moid + ", community=" + community + ", writecommunity=" + writecommunity + "]";
	}

}
